public static void OpenWindowsFirewallPort(int port, bool tcp, bool udp, string name)
{
   //Coded by Rue
   if (tcp)
      Process.Start(netsh.exe, firewall add  portopening TCP  + port + name);
   if (udp)
      Process.Start(netsh.exe, firewall add  portopening UDP  + port + name);
}